package com.software.backend.indexshow.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.util.Date;

/**
 * @author Charon
 * @version 1.0
 * @date 2022/12/24 15:09
 */
@Entity
@Data
public class Post {
    @Id
    private int id;
    private int userId;
    private Date createTime;
    private Date updateTime;
    private String wordContent;
    private String mediaContentPath;
    private int likeCount;
    private int commentCount;
    private int readCount;
    private String coverUrl;

}
